package com.sky.ok.okex.common;

import java.util.Arrays;
import java.util.List;

/**
 * OKex永续
 * @author 余心乐sky
 * @create 2019-05-17 13:01
 **/
public class OKSwapConst extends OKV3Const {
    //eos永续 行情数据频道
    public static final String SWAP_EOS = "\"swap/ticker:EOS-USD-SWAP\"";

    //eos永续 1分钟k线数据频道
    public static final String SWAP_EOS_1_MIN = "\"swap/candle60s:EOS-USD-SWAP\"";

    //eos永续 3分钟k线数据频道
    public static final String SWAP_EOS_3_MIN = "\"swap/candle180s:EOS-USD-SWAP\"";

    //eos永续 5分钟k线数据频道
    public static final String SWAP_EOS_5_MIN = "\"swap/candle300s:EOS-USD-SWAP\"";

    // eos永续 15分钟k线数据频道
    public static final String SWAP_EOS_15_MIN = "\"swap/candle900s:EOS-USD-SWAP\"";

    //eos永续 30分钟k线数据频道
    public static final String SWAP_EOS_30_MIN = "\"swap/candle1800s:EOS-USD-SWAP\"";

    //eos永续 1小时k线数据频道
    public static final String SWAP_EOS_1_HOUR = "\"swap/candle3600s:EOS-USD-SWAP\"";

    //eos永续 2小时k线数据频道
    public static final String SWAP_EOS_2_HOUR = "\"swap/candle7200s:EOS-USD-SWAP\"";

    // eos永续 4小时k线数据频道
    public static final String SWAP_EOS_4_HOUR = "\"swap/candle14400s:EOS-USD-SWAP\"";

    //eos永续 6小时k线数据频道
    public static final String SWAP_EOS_6_HOUR = "\"swap/candle21600s:EOS-USD-SWAP\"";

    // eos永续 12小时k线数据频道
    public static final String SWAP_EOS_12_HOUR = "\"swap/candle43200s:EOS-USD-SWAP\"";

    // eos永续 一天k线数据频道
    public static final String SWAP_EOS_1_DAY = "\"swap/candle86400s:EOS-USD-SWAP\"";

    // eos永续 一周k线数据频道
    public static final String SWAP_EOS_1_WEEK = "\"swap/candle604800s:EOS-USD-SWAP\"";

    //永续合约集合
    public static final List<String> SWAP_LIST = Arrays.asList(SWAP_EOS);

    //K线集合
    public static final List<String> SWAP_K_LIST = Arrays.asList(SWAP_EOS_1_MIN
            , SWAP_EOS_3_MIN
            , SWAP_EOS_5_MIN
            , SWAP_EOS_15_MIN
            , SWAP_EOS_30_MIN
            , SWAP_EOS_1_HOUR
            , SWAP_EOS_2_HOUR
            , SWAP_EOS_4_HOUR
            , SWAP_EOS_6_HOUR
            , SWAP_EOS_12_HOUR
            , SWAP_EOS_1_DAY
            , SWAP_EOS_1_WEEK);

}
